package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
@Data
public class SearchStartAndStopDTO {
    @ApiModelProperty("唯一id")
    @NotNull(message = "唯一id不能为空")
    private Long id;


    @ApiModelProperty(value = "状态: false:关闭 true:启动")
    @NotNull(message = "启停项不可为空")
    private Boolean status;

}
